/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "绩效工资配置",TableName = "base_meritpay")]
    public partial class base_meritpay:BaseEntity
    {
        /// <summary>
       ///主键Id
       /// </summary>
       [Key]
       [Display(Name ="主键Id")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int meritpay_id { get; set; }

       /// <summary>
       ///工序名称
       /// </summary>
       [Display(Name ="工序名称")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? process_id { get; set; }

       /// <summary>
       ///报工单位
       /// </summary>
       [Display(Name ="报工单位")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? unit_id { get; set; }

       /// <summary>
       ///产品名称
       /// </summary>
       [Display(Name ="产品名称")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? product_id { get; set; }

       /// <summary>
       ///工资单价
       /// </summary>
       [Display(Name ="工资单价")]
       [DisplayFormat(DataFormatString="24,6")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? unitprice { get; set; }

       /// <summary>
       ///标注产出
       /// </summary>
       [Display(Name ="标注产出")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? standardnumber { get; set; }

       /// <summary>
       ///标准工时（小时）
       /// </summary>
       [Display(Name ="标准工时（小时）")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? standardhour { get; set; }

       /// <summary>
       ///标准工时（分钟）
       /// </summary>
       [Display(Name ="标准工时（分钟）")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? standardminute { get; set; }

       /// <summary>
       ///标准工时（秒）
       /// </summary>
       [Display(Name ="标准工时（秒）")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? standardsecond { get; set; }

       /// <summary>
       ///创建人编号
       /// </summary>
       [Display(Name ="创建人编号")]
       [Column(TypeName="int")]
       public int? CreateID { get; set; }

       /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       public DateTime? CreateDate { get; set; }

       /// <summary>
       ///创建人
       /// </summary>
       [Display(Name ="创建人")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       public string Creator { get; set; }

       /// <summary>
       ///修改人
       /// </summary>
       [Display(Name ="修改人")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       public string Modifier { get; set; }

       /// <summary>
       ///修改时间
       /// </summary>
       [Display(Name ="修改时间")]
       [Column(TypeName="datetime")]
       public DateTime? ModifyDate { get; set; }

       /// <summary>
       ///修改人编号
       /// </summary>
       [Display(Name ="修改人编号")]
       [Column(TypeName="int")]
       public int? ModifyID { get; set; }

       
    }
}